def create_Circle_PipePillar

    model = Sketchup.active_model
    prompts = ["直径","高度","壁厚","钢牌号","柱型号","柱编号"]
    defaults = ["900","6000","52","Q420B","GKZ1","AE-1-1"]
    input = UI.inputbox(prompts, defaults, "创建圆管柱")
    
    group = model.active_entities.add_group
    entities = group.entities
    d = input[0].to_f.mm
    z = input[1].to_f.mm
    h = input[2].to_f.mm
    
    edges1 = entities.add_circle([0,0,0], [0,0,1], d/2)
    face1 = entities.add_face(edges1)

    edges2 = entities.add_circle([0,0,0], [0,0,1], d/2-h)
    #entities.erase_entities(face1)
    entities.each { | e | 
    if e.class == Sketchup::Face && e.entityID != face1.entityID
    
        entities.erase_entities(e)
        break
    end

    }
    #face2 = entities.add_face(edges2)
    #entities.erase_entities(face2)
    
    face1.pushpull(-z,true)
    
    end